<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div style="padding: 0 10px;float:left;width: 100%;" id="jqGrid">

    </div>
    <div class="grid-btn" style="margin-left: 10px;">
        <#if shiro.hasPermission("sys:shelvesgroup:save")>
        <a class="btn btn-primary" @click="add">&nbsp;新增分组</a>
        </#if>
    </div>

    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
             <div class="modal-dialog" role="document">
                 <form class="form-horizontal">
                 <div class="modal-content">
                     <div class="modal-header">
                         <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                         <h4 class="modal-title" id="myModalLabel">新增货架分组</h4>
                     </div>
                     <div class="modal-body">

                         <div class="form-group">
                             <div class="col-sm-2 control-label"><span style="color: red">*</span>货架名称</div>
                             <div class="col-sm-10">
                                <input type="text" class="form-control" v-model="shelvesgroup.groupname" placeholder="货架名称">
                             </div>
                         </div>
                     </div>
                     <div class="modal-footer">
                         <button type="button" id="btn_submit" class="btn btn-primary" data-dismiss="modal" @click="saveOrUpdate">确认</button>
                     </div>
                 </div>
                 </form>
             </div>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/shelvesgroup.js?_${.now?long}"></script>
</body>
</html>